package com.tengfei.pojo;

import java.sql.SQLOutput;

/**
 * @Description:
 * @author: ten_fei
 * @date: 2021-07-05 19:46
 */
public class User {
    private String name;

//    public User() {
//        System.out.println("new了这个对象");
//    }
    public User(String name){
        this.name=name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
